home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / mred401.zip / DETAB.DOC next >
Text File  |  1989-08-31  |  2KB  |  46 lines

  1.  
  2.  
  3.  
  4.               Detab  Documentation -- Version 2.0
  5.  
  6.           Detab expands all the tabs in an ascii file to spaces
  7.      and oh boy is it fast!!
  8.  
  9.           Detab can run in two modes, command line and prompt.  If
  10.      you leave the command line blank, you will be prompted for
  11.      the input and output filenames (they can be the same).  The
  12.      command line mode format is:
  13.  
  14.           DETAB [ Input.fil [ Output.fil ] ]
  15.  
  16.      Where Output.fil can be left off to put output into the
  17.      input.fil.  If Input.fil is left off you will be prompted for
  18.      the filenames.
  19.  
  20.           Detab also accepts wild cards, for example DETAB *.PAS
  21.      will expand all the tabs in all the .Pas files in the current
  22.      directory.
  23.  
  24.           Detab can also be run with redirection.  For example:
  25.  
  26.           DETAB <Input.fil
  27.  
  28.      would set the detabbed file onto the screen.  If Detab
  29.      determines that the input is being redirected the output will
  30.      be directed to the screen regardless of any other command
  31.      line parameters.
  32.  
  33.           Some editors and other utilities do not use the Dos
  34.      standard of eight spaces per tab.  In order to get around
  35.      this limitation Detab has a command line switch (/nn).  This
  36.      switch tells Detab how many spaces to use per tab.  If the
  37.      switch is not specified the default is eight spaces per tab.
  38.      For example if a different editor put four spaces per tab and
  39.      you wanted to use Mister ED (which you now realize if far
  40.      superior), the following command will move you up in the
  41.      world:
  42.  
  43.           DETAB Lesser.fil Better.fil /4
  44.  
  45.  
  46.